import request from '@/utils/request'

// 添加全球
export function addEvaluate(data) {
    return request({
        url: '/system/evaluate',
        method: 'POST',
        data: data
    })
}
//删除
export function deleteEvaluate(id) {
    return request({
        url: '/system/evaluate/' + id,
        method: 'DELETE',

    })
}
//获取列表
export function getEvaluateList() {
    return request({
        url: '/system/evaluate/list',
        method: 'GET',

    })
}
//执行

export function getEvaluateExec(data) {
    return request({
        url: '/system/evaluate/exec',
        method: 'GET',
        params: data
    })
}
//查看

export function getEvaluateCatLog(data) {
    return request({
        url: '/system/evaluate/catLog',
        method: 'GET',
        params: data
    })
}
//删除log文件
export function delEvaluateLog(data) {
    return request({
        url: '/system/evaluate/deleteLog',
        method: 'GET',
        params: data
    })
}
//刷新

export function getEvaluateRefresh(data) {
    return request({
        url: '/system/evaluate/refresh',
        method: 'GET',
        params: data
    })
}
